package com.miao.constant;

/**
 * @author: 丰
 * @date: 2023/3/1 13:55
 */
public enum ResultStatusEnum {
    /**
     * 成功
     */
    SUCCESS(200, "成功"),
    /**
     * 失败
     */
    FAILED(300, "失败");

    private final Integer code;
    private final String msg;

    ResultStatusEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
